#pragma once
#include "veicle.h"
class MotorCycle :
	public Veicle
{
public:
	MotorCycle(void):Veicle(){wheels = 2;}
	MotorCycle(string brand, int year, int wheels):Veicle(brand,year){this->wheels = wheels;}
	~MotorCycle(void);
	void SetWheels(int wheels){this->wheels = wheels;}
	int GetWheels(){return wheels;}
	void print()
	{
		Veicle::print();
		cout << wheels << endl;
	}
private:
	int wheels;
};

